# Copyright (c) 2010 the LinBox group
# ========LICENCE========
# This file is part of the library LinBox.
#
# LinBox is free software: you can redistribute it and/or modify
# it under the terms of the  GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
# ========LICENCE========



#we now need to include givaro headers for timer ?

AM_CPPFLAGS=-I$(top_srcdir)
AM_CXXFLAGS=$(LINBOX_CXXFLAGS) $(FFLAS_FFPACK_CFLAGS) $(LINBOX_DEPS_CFLAGS)
LDADD=$(LINBOX_DEPS_LIBS) $(FFLAS_FFPACK_LIBS) $(LINBOX_LDFLAGS)

SUBDIRS=formats

pkgincludesubdir=$(pkgincludedir)/util

noinst_LTLIBRARIES=libutil.la


libutil_la_SOURCES=	\
	error.C		\
	debug.C

libutil_la_LDFLAGS=  $(LDFLAGS)

#libutil_la_LIBADD=	\
#	gmp++/libgmpxx.la

pkgincludesub_HEADERS=    \
	args-parser.h     \
	commentator.h 	  \
	commentator.inl   \
	contracts.h 	  \
	debug.h		  \
	error.h		  \
	field-axpy.h	  \
	iml_wrapper.h     \
	matrix-stream.h	  \
	matrix-stream.inl \
	mpicpp.h	  \
	mpicpp.inl	  \
	prime-stream.h	  \
	serialization.h   \
	serialization.inl \
	timer.h		  \
	write-mm.h

EXTRA_DIST = util.doxy
